package com.itheima.xiancheng.homework.homework1;

public class PrintNum extends Thread {
    @Override
    public void run() {
        for (int i = 1; i <=100; i++) {
            System.out.println(getName()+"-------"+i);
        }
    }
}
